Skip to content

Conversation

@troosan
Copy link
Contributor

@troosan troosan commented Sep 16, 2025

there are 2 different commits

  • one to abstract some code in the parent test class
  • the other to add spanId and traceId

Let me know if you prefer I create 2 separate PRs

@troosan troosan requested a review from a team as a code owner September 16, 2025 21:13
@SlyngDK
Copy link
Contributor

SlyngDK commented Sep 21, 2025

@troosan Have you though about, the handling of traceId and spanId, maybe should be part of the MDCJsonProvider?
What about filtering them from MDC, when fields is enabled?
It's fine with the config part.
It will be easier for me to review in 2 separate PRs, will be fine if you create are new PR with the test refactor, and keep this for traceId and spandId.

@troosan
Copy link
Contributor Author

troosan commented Sep 21, 2025

I have created a first pull request for the refactoring of the test classes
#376

I'm thinking maybe I could create a generic MdcExtractor, which would allow to configure whatever MDC field to be moved/copied to another field. Would that do it?

@troosan troosan force-pushed the feature/add-traceId-and-spanId branch from 91eea8d to 3d90469 Compare October 25, 2025 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants